//
//  CLLoginModel.h
//  chanlin
//
//  Created by Ryan on 14-12-1.
//  Copyright (c) 2014年 chanlin. All rights reserved.
//

#import "CLDataModel.h"

@interface CLLoginModel : CLDataModel

SGR_SINGLETION(CLLoginModel)

- (void)loginSina:(UIViewController *)controller uiBlock:(void (^)(BOOL success,id responseObj,NSString *message) )block;

- (void)loginQQ:(UIViewController *)controller uiBlock:(void (^)(BOOL success,id responseObj,NSString *message) )block;

- (void)editImg:(NSString *)base64Img nickName:(NSString *)nickName uiBlock:(void (^)(BOOL success,id responseObj,NSString *message) )block;

- (void)reLogin;

- (void)loginIn:(NSString *)usrName password:(NSString *)password
        uiBlock:(void (^)(BOOL success,id responseObj,NSString *message) )block;

- (void)loginWeichat:(UIViewController *)controller uiBlock:(void (^)(BOOL success,id responseObj,NSString *message) )block;

@end
